﻿using Feicui.BeautyCRM.IDAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace Feicui.BeautyCRM.Factory
{
    /// <summary>
    /// DAL实例化抽象工厂
    /// </summary>
    public partial class StaticDalFactory
    {
        /// <summary>
        /// DAL类库的命名空间
        /// </summary>
        //public static string AssemblyDalName = System.Configuration.ConfigurationManager.AppSettings["AssemblyDalName"];

        /// <summary>
        /// 通过反射元数据实例化DAL的对象
        /// </summary>
        /// <returns></returns>
        //public static IBeauty_UserDal GetIBeauty_UserDal()
        //{
        //    return Assembly.Load(AssemblyDalName).CreateInstance(AssemblyDalName + ".Beauty_UserDal") as IBeauty_UserDal;
        //}
    }
}
